provider Environments GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/{environment}/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/{environment}/
Retrieve a Project Environment
Return details on a project environment.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
project_id_or_slug path required
The ID or slug of the project the resource belongs to.
string
environment path required
The name of the environment.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

retrieveAProjectEnvironment
GET/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/{environment}/
Return details on a project environment.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the project the resource belongs to.

required

The name of the environment.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.retrieveAProjectEnvironment()